package com.szl.yeb.entity;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * (Salary)表实体类
 *
 * @author szl
 * @since 2022-08-24 16:21:29
 */
@ApiModel("Salary")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_salary")
public class Salary implements Serializable {

    private static final long serialVersionUID = 1L;

    //id
    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //基本工资
    @ApiModelProperty("基本工资")
    private Integer basicSalary;
    //奖金
    @ApiModelProperty("奖金")
    private Integer bonus;
    //午餐补助
    @ApiModelProperty("午餐补助")
    private Integer lunchSalary;
    //交通补助
    @ApiModelProperty("交通补助")
    private Integer trafficSalary;
    //应发工资
    @ApiModelProperty("应发工资")
    private Integer allSalary;
    //养老金基数
    @ApiModelProperty("养老金基数")
    private Integer pensionBase;
    //养老金比率
    @ApiModelProperty("养老金比率")
    private Float pensionPer;
    //启用时间
    @ApiModelProperty("启用时间")
    private LocalDate createDate;
    //医疗基数
    @ApiModelProperty("医疗基数")
    private Integer medicalBase;
    //医疗保险比率
    @ApiModelProperty("医疗保险比率")
    private Float medicalPer;
    //公积金基数
    @ApiModelProperty("公积金基数")
    private Integer accumulationFundBase;
    //公积金比率
    @ApiModelProperty("公积金比率")
    private Float accumulationFundPer;
    //名称
    @ApiModelProperty("名称")
    private String name;
}

